@extends('manage.layout')
@section('link')
    <style>

    </style>
@endsection
@section('content')
    <!-- Content Header (Page header) -->
    {{--<section class="content-header">--}}
        {{--<h1>--}}
            {{--众智天成--}}
            {{--<small>管理平台</small>--}}
        {{--</h1>--}}
        {{--<ol class="breadcrumb">--}}
            {{--<li><a href="#"><i class="fa fa-dashboard"></i> 首页</a></li>--}}
            {{--<li class="active">仪表盘</li>--}}
        {{--</ol>--}}
    {{--</section>--}}

    <!-- Main content -->
    <section class="content animated fadeInRight">
        <!-- Small boxes (Stat box) -->
        <div class="row">
            <div class="col-lg-12">
                <div class="box box-solid">
                    <!-- /.box-header -->
                    <div class="box-body">
                        <div class="box-group" id="accordionOne">
                            <!-- we are adding the .panel class so bootstrap.js collapse plugin detects it -->
                            <div class="panel box box-primary" style="border: 0">
                                <span style="font-size: 25px">欢迎使用众智天成后台管理系统</span>
                            </div>

                        </div>
                    </div>
                </div>
                <!-- /.box-body -->
            </div>
            <!-- /.box -->
        </div>
        <div class="row">
            <div class="col-lg-12">
                <div class="box box-solid">
                    <div class="box-header with-border">
                        <a data-toggle="collapse" data-parent="#accordionOne" href="#collapseOne" style="color: #000;">
                            <strong>用户信息</strong>
                        </a>
                    </div>
                    <!-- /.box-header -->
                    <div class="box-body">
                        <div class="box-group" id="accordionOne">
                            <!-- we are adding the .panel class so bootstrap.js collapse plugin detects it -->
                            <div class="panel box box-primary">
                                <div id="collapseOne" class="panel-collapse collapse in">
                                    <div class="box-body">
                                        <table>
                                            <tr>
                                                <td style="min-width: 300px;padding-bottom: 10px"><span style="font-size: 20px;">用户名：<strong style="font-size: 20px;color: #f00;">{{ $man['username'] }}</strong></span></td>
                                                <td style="min-width: 300px;padding-bottom: 10px"><span  style="font-size: 20px;">角色：{{ App\Model\Role::find($man['role_id'])['name'] }}</span></td>
                                            </tr>
                                            <tr>
                                                <td style="min-width: 300px;padding-bottom: 10px"><span>上次登录时间：{{ $man['login_time'] }}</span></td>
                                                <td style="min-width: 300px;padding-bottom: 10px"><span>上次登录IP：{{ $man['ip'] }}</span></td>
                                            </tr>
                                            <tr>
                                                <td style="min-width: 300px;padding-bottom: 10px"><span>登录次数：{{ $man['login_number'] }}</span></td>
                                                <td style="min-width: 300px;padding-bottom: 10px"><span>邮箱：{{ $man['email'] }}</span></td>
                                            </tr>
                                        </table>
                                    </div>
                                </div>
                            </div>

                        </div>
                    </div>
                </div>
                <!-- /.box-body -->
            </div>
            <!-- /.box -->
        </div>

    </section>
    <!-- /.content -->
@endsection